package com.example.everying.model.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class UserBalanceTransactionDetailVo {
    @ApiModelProperty("交易渠道")
    private String channel;
    @ApiModelProperty("交易金额")
    private BigDecimal amount;
    @ApiModelProperty("交易时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty("交易描述")
    private String description;
    @ApiModelProperty("交易流水号")
    private String txId;
    @ApiModelProperty("交易类型")
    private String type;
}
